﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BSCMFF.Web.UserControls.Details
{
    /// <summary>
    /// Strategic target details.
    /// </summary>
    /// <remarks></remarks>
    public partial class StrategicTargetDetails : System.Web.UI.UserControl
    {
        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <remarks></remarks>
        public string Name 
        {
            get
            {
                return RadTextBoxName.Text;
            }            
        }

        /// <summary>
        /// Gets the description.
        /// </summary>
        /// <remarks></remarks>
        public string Description
        {
            get
            {
                return RadTextBoxDescription.Text;
            }
        }

        /// <summary>
        /// Gets the perspective_ FK.
        /// </summary>
        /// <remarks></remarks>
        public int Perspective_FK
        {
            get
            {
                return SelectionPerspectiveTarget.SelectedPerspectiveID;
            }
        }

        /// <summary>
        /// Gets the expected date.
        /// </summary>
        /// <remarks></remarks>
        public DateTime? ExpectedDate
        {
            get
            {
                return RadDatePickerTargetExpected.SelectedDate;
            }
        }

        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void Page_Load(object sender, EventArgs e)
        {

        }

    }
}